f_read = open("new 1.txt", 'r', encoding='UTF-8')
f_write = open("new2.txt", 'a', encoding='UTF-8')

for rl in f_read:
    l = rl.strip()
    result = '\'' + l + '\'' + ',' + '\n'
    # print(result, type(l))
    # result = str(l) + ',' + '\n'
    f_write.write(result)

f_read.close()
f_write.close()

